---
title: "get device attributes · RUAL Documentation"
description: "With this block you can request all the attributes for an device."
canonical: https://docs.rual.nl/block-types/Home Automaton/aqaraconnection_device_get_attributes
language: en
---

# get device attributes

This block is part of the [`Home Automaton`](https://docs.rual.nl/block-types/Home%20Automaton) group and was last modified in core [`v13.0.8`](https://docs.rual.nl/core-versions/130008).

With this block you can request all the attributes for an device.

- flow `flow`

- Connection required `aqaraconnection` An authenciated aqara connection

- Device ID required `value` The device ID of the device you want to change the name for.

- flow `flow`

- Connection `aqaraconnection` The aqara connection.

- Success `condition` If successful, this pin returns true.

- Attributes `array` The attributes of the device.

- Error `value` Error message if the attributes could not be requested.

A typical wiring for [get device attributes](https://docs.rual.nl/block-types/Home%20Automaton/aqaraconnection_device_get_attributes): a [function trigger](https://docs.rual.nl/block-types/globals/trigger_custom_function) starts the flow; [open connection](https://docs.rual.nl/block-types/Home%20Automaton/aqaraconnection_open) feeds the `connection` pin; the `flow` out pin feeds [debug](https://docs.rual.nl/block-types/state%20ui/state_debug).

![Studio canvas example for the get device attributes block: typical wiring for get device attributes.](https://docs.rual.nl/canvas-examples/aqaraconnection_device_get_attributes.png)

### Version history

Introduced in [`v13.0.8`](https://docs.rual.nl/core-versions/130008).
